import os
from langchain.llms import OpenAI

os.environ["OPENAI_API_KEY"] = 'sk-f2M0jWxDEb7IJKiuCnMsvKE7TLSYCA36pyl8gWA1XLaHnD8l'
os.environ["OPENAI_BASE_URL"] = 'https://api.f2gpt.com/v1'

llm = OpenAI(
    model='gpt-3.5-turbo-instruct',
    temperature=0.8,
    max_tokens=60,
)
response = llm.predict("请给我的花店起个名")

print(response)
